home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
General
/
ViewIt™ 2.24 Shareware
/
Pascal Demo Projects
/
THINK Pascal 4.0 Demos
/
FaceStorLP.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-01-26
|
6KB
|
278 lines
{FaceWare 2.23 Commands & Global Record}
{©FaceWare 1989-94. All Rights Reserved.}
unit FaceStorLP;
interface
const
DoInit = -61;
DoPrep = -62;
{FaceIt commands}
DoLoop = 0;
DoEvnt = -51;
DoMenu = -52;
GetMsg = -55;
{ViewIt commands}
DoUpdt2 = -53;
DoUpdt = -53;
DoUnld = -63;
ChgCur = 121;
PstEvt = 122;
PopMen = 123;
PstNot = 124;
SetIdl = 131;
EndIdl = 132;
ShoAlt = 153;
StpAlt = 154;
NotAlt = 155;
CtnAlt = 156;
SetItm1 = 160;
SetItm2 = 161;
SetItm = 161;
GetItm = 162;
FixFSC = 163;
SelFSC = 164;
ChkMem = 171;
NewBlk = 172;
PrgCmd = 173;
GetFgC = 178;
GetBkC = 179;
SetFgC = 180;
SetBkC = 181;
SetFSS = 183;
SetPal2 = 185;
SetPal = 185;
StdOpn = 201;
StdSav = 202;
GetRef = 205;
SetRef = 206;
SetTyp = 208;
SndBhd = 250;
GetNam = 251;
SetNam = 252;
MovRec = 254;
MovAlt = 255;
MovDlg = 256;
MovWin = 257;
DrgWnd = 259;
ShoStr = 261;
StpStr = 262;
NotStr = 263;
CtnStr = 264;
GetStd = 301;
SetStd = 302;
SavDlg = 356;
SavWin = 357;
SetSub = 451;
TrmStr = 452;
SetPrm = 453;
CnvStr = 454;
FndTxt = 455;
NumToS = 471;
SToNum = 481;
GetStr = 491;
SetStr = 492;
SrtLst = 493;
DupLst = 494;
AddVew = -1200;
NewWnd = -1201;
EndWnd = -1202;
MdlWnd = -1203;
SizWnd = -1204;
MovWnd = -1205;
ShoWnd = -1206;
HidWnd = -1207;
GetWVC = -1208;
GetWnd = -1209;
LnkCtl = -1210;
GetCtl = -1211;
ShoCtl = -1212;
GetVal = -1213;
SetVal = -1214;
OvrCtl = -1215;
AddCtl = -1216;
DrwCtl = -1217;
ScrCtl = -1218;
ActCtl = -1219;
SelCtl = -1220;
DspCtl = -1221;
StlCtl = -1222;
SavCtl = -1223;
SavWnd = -1224;
SizCtl = -1225;
MovCtl = -1226;
ClrCtl = -1227;
SetVCod = -1228;
SetInfo = -1228;
HlpWnd = -1229;
HitCtl = -1230;
type
{Global ViewIt record}
FacePtr = ^FaceRec;
FaceRec = record
{program-wide info}
fHead: array[1..8] of integer;
fOffPort: GrafPtr;
fCOffPort: GrafPtr;
fActiveWnd: WindowPtr;
fActiveRec: longint;
fActiveID: integer;
fActiveResID: integer;
fMsgCount: integer;
fFlags: longint;
fStuff: Ptr;
fHeapBuff: longint;
fEnvFlags: longint;
fSleep: longint;
fScreenRect: Rect;
fDragRect: Rect;
fFrontSleep: longint;
fBackSleep: longint;
fFiller1: integer;
fStdBlock: Handle;
fStdCount: integer;
fSysEnvArr: array[1..8] of integer;
fApplVRef: integer;
fCreator: OSType;
fRefCon: longint;
fFiller2: array[1..7] of integer;
fCursor: integer;
fFontMenu: MenuHandle;
fSizeMenu: MenuHandle;
fStyleMenu: MenuHandle;
fColorMenu: MenuHandle;
fFiller3: signedbyte;
fI1Err: signedbyte;
fI2Err: integer;
fI4Err: longint;
fI8Err: computational;
fR4Err: real;
fR8Err: double;
fR10Err: array[1..5] of integer;
fR12Err: array[1..6] of integer;
fFiller4: array[1..105] of integer;
fDrvr7400: ProcPtr;
fMBarHt: signedByte;
fDecPtCh: signedByte;
fSysFNum: integer;
fSysFName: string[31];
fWDEF: longint;
fGlueData: longint;
fWaitNextEvent: longint;
fGetNewWindow: longint;
fGetNewCWindow: longint;
fDisposeWindow: longint;
fFiller5: array[1..4] of longint;
fActiveWindow: longint;
fSelectWindow: longint;
fUpdateOther: longint;
fFiller6: array[1..9] of longint;
fEvent: EventRecord;
fFiller7: array[1..190] of integer;
{utility scratch variables}
uFSSpec: FSSpec;
uHead: array[1..8] of integer;
uI2: integer;
uI4: longint;
uR4: real;
uR8: double;
uR10: array[1..5] of integer;
uR12: array[1..6] of integer;
uPt: Point;
uRect: Rect;
uCommand: longint;
uParam: array[1..4] of longint;
uResult: longint;
uMenuID: longint;
uMenuItem: longint;
uString: Str255;
uName: Str255;
uRGB: RGBColor;
uStyle: style;
uI1: signedbyte;
uI8: computational;
uMenuHdl: MenuHandle;
{window-related info}
vHead: array[1..8] of integer;
vErr: integer;
vCDEF: ProcPtr;
vSelectCtl: ControlHandle;
vSelectRec: longint;
vSelectID: integer;
{info returned by enabled items}
wiHit: integer;
wvHit: integer;
wcHit: integer;
wClick: integer;
wEvent: EventRecord;
{window info returned by GetWnd}
wWindow: WindowPtr;
wResID: integer;
wCount: integer;
wvCount: integer;
wiCount: integer;
{control info returned by GetCtl}
cControl: ControlHandle;
ciIndex: integer;
cvIndex: integer;
ccIndex: integer;
cBaseID: integer;
{info copied from "cControl" block...}
cNext: ControlHandle;
cOwner: WindowPtr;
cRect: Rect;
cVis: signedByte;
cHilite: signedByte;
cValue: integer;
cMin: integer;
cMax: integer;
cInfo: Handle;
cLoData: Handle;
cAction: ProcPtr;
cRefCon: longint;
cTitle: Str255;
{info copied from "cInfo" block...}
cStuff: array[1..6] of integer;
cTmplRefCon: longint;
cPtr: Ptr;
cHiData: Handle;
cView: ControlHandle;
cOldRect: Rect;
cClip: Rect;
cContent: Rect;
cLimit: Rect;
cType: longint;
cVarCode: integer;
cResType: ResType;
cResID: integer;
cResHdl: Handle;
cPrivate: longint;
cScrInc: signedByte;
cCmdKey: signedByte;
cPnRound: integer;
cPnSize: Point;
cTxJust: signedByte;
cTxFace: Style;
cTxSize: integer;
cTxFont: integer;
cDataType: integer;
cDataDigits: signedByte;
cDataFormat: signedByte;
cDataOffset: integer;
cDataPtr: Ptr;
cStorType: integer;
cStorPtr: longint;
cColors: CCTabHandle;
cOverride: ProcPtr;
cCount: integer;
cString: Str255;
{private debugging table}
xEntries: integer;
xTable: array[1..40] of longint;
end;
implementation
end.